package com.flash.dataU.test.entity;

import java.lang.reflect.Type;
import java.util.List;

/**
 * .
 *
 * @author sunym1993
 * @version 0.0.1-SNAPSHOT
 * @since 2017年12月06日 16时49分
 */
public class Server extends BaseEntity<Server>{

    private String ip;
    private int memory;
    private double memoryFree;
    private int core;
    private double loadAvg;
    private double loadMax;
    private String username;
    private String password;

    private ServerType type;
    private List<Project> projects;
    private double used;

    public double getMemoryFree() {
        return memoryFree;
    }

    public void setMemoryFree(double memoryFree) {
        this.memoryFree = memoryFree;
    }

    public double getLoadAvg() {
        return loadAvg;
    }

    public void setLoadAvg(double loadAvg) {
        this.loadAvg = loadAvg;
    }

    public double getLoadMax() {
        return loadMax;
    }

    public void setLoadMax(double loadMax) {
        this.loadMax = loadMax;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getMemory() {
        return memory;
    }

    public void setMemory(int memory) {
        this.memory = memory;
    }

    public int getCore() {
        return core;
    }

    public void setCore(int core) {
        this.core = core;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public ServerType getType() {
        return type;
    }

    public void setType(ServerType type) {
        this.type = type;
    }

    public List<Project> getProjects() {
        return projects;
    }

    public void setProjects(List<Project> projects) {
        this.projects = projects;
    }

    public double getUsed() {
        return used;
    }

    public void setUsed(double used) {
        this.used = used;
    }
}
